<html>
<head>

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js" type="text/javascript"/>


<title>AirLine</title>
<link rel="stylesheet" type="text/css" href="Shop.css" />
</head>

<body>
        <h1>WELCOME TO OUR AIRLINE</h1>
        <hr/>
        <form method="post" handler="listPassengers(code)" >
          <p>
            <input type="submit" value="List Passengers"/>
          </p>
        </form>
        <hr/>
        <form method="post" handler="searchPassenger(code)" >
          <p>
            <span>Passenger Code: </span>
            <input type="text" name="code"/>
          </p>
          <p>
            <input type="submit" value="Search"/>
          </p>
        </form>
        <hr/>
        <form method="post" handler="registerPassenger(firstName, lastName, email, destination, departure, code)" >
          <p>
            <span>First Name: </span>
            <input type="text" name="firstName"/>
          </p>
          <p>
            <span>Last Name: </span>
            <input type="text" name="lastName"/>
          </p>
          <p>
            <span>Email Address: </span>
            <input type="text" name="email"/>
          </p>
          <p>
          	<span>Arrival: </span>
            <select name="destination">
				<option value="Zurich">Zurich</option>
				<option value="Milan">Milan</option>
				<option value="Rome">Rome</option>
			</select>
          </p>
          <p>
            <span>Departure: </span>
            <select name="departure">
				<option value="Zurich">Zurich</option>
				<option value="Milan">Milan</option>
				<option value="Rome">Rome</option>
			</select>
          </p>
          <p>
            <span>Passenger Code: </span>
            <input type="text" name="code"/>
          </p>
          <p>
            <input type="submit" value="Register"/>
          </p>
          </form>
          <hr/>
           <form method="post" handler="removePassenger(code)" >
           <p>
            <span>Code: </span>
            <input type="text" name="code"/>
          </p>
          <p>
            <input type="submit" value="Delete"/>
          </p>
        </form>
        <div id="pList"/>
      </body>
</html>
